package com.youboy.oauth.model;

import java.util.Map;

/**
 * 
 * @author loudyn
 * 
 */
public class OAuthConsumerAuthentication {

	private final OAuthConsumer consumer;
	private final OAuthConsumerCredentials credentials;
	private final Map<String, String> oauthParameters;

	/**
	 * 
	 * @param consumer
	 * @param credentials
	 * @param oauthParameters
	 */
	public OAuthConsumerAuthentication(OAuthConsumer consumer,
										OAuthConsumerCredentials credentials,
										Map<String, String> oauthParameters) {
		this.consumer = consumer;
		this.credentials = credentials;
		this.oauthParameters = oauthParameters;
	}

	/**
	 * 
	 * @return
	 */
	public OAuthConsumer getOAuthConsumer() {
		return this.consumer;
	}

	/**
	 * 
	 * @return
	 */
	public OAuthConsumerCredentials getOAuthConsumerCredentials() {
		return this.credentials;
	}

	/**
	 * 
	 * @return
	 */
	public Map<String, String> getOAuthParameters() {
		return this.oauthParameters;
	}

}
